#searchBar {
  background-image: url("../images/search.svg");
  background-position: 16px 16px;
  background-repeat: no-repeat;
  width: 100%;
  font-size: 16px;
  margin-bottom: 12px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
}
.dark-mode-search {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' hei… 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") !important;
  color: #f8f9fa !important;
  background-color: #212529 !important;
  border-color: #343a40 !important;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 3fr));
  gap: 25px 30px;
}

.feature-card {
  border: 1px solid #9dc8ad;
  border-radius: 0.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform 0.3s,
    border 0.3s;
  transform-origin: center center;
  outline: 2px solid transparent;
}

.feature-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.feature-card .card-text {
  flex: 1;
}

.feature-card:hover {
  outline: 1px solid rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transform: scale(1.1);
}

.feature-card:hover .card-title {
  text-decoration: underline;
}
.card-title.text-primary {
  color: #000; /* Replace with your desired shade of blue */
}

.home-card-icon {
  width: 30px;
  height: 30px;
  transform: translateY(-5px);
}
.home-card-icon-colour {
  filter: invert(0.2) sepia(2) saturate(50) hue-rotate(190deg);
}

.favorite-icon {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Only show the favorite icons when the parent card is being hovered over */
.feature-card:hover .favorite-icon {
  display: block;
}
.favorite-icon img {
  filter: brightness(0);
}

.jumbotron {
  padding: 3rem 3rem; /* Reduce vertical padding */
}

.container-menu{
        width: 200px;
        background-color: #fff;
        border-radius: 4px;
        padding-top: 19px;
        min-height: 749px;
        float: left;
}


/* 在小屏幕设备上，将菜单设置为隐藏，并使用flex等布局方式替代float */
@media (max-width: 768px) { /* 你可以根据你的项目需求调整这个阈值 */
    .container-menu {
        display: none;
        position: absolute; /* 或 fixed，根据实际情况选择 */
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        max-height: 0; /* 用于动画效果，点击展开时增加高度 */
        overflow-y: hidden;
        transition: max-height 0.3s ease-out;
    }
}

.container-context{
    margin-left: 216px;
    border-radius: 4px;
}

/* 在小屏幕设备上，移除或减少左侧外边距 */
@media (max-width: 768px) {
    .container-context {
        margin-left: 0; /* 或者一个较小的值用于内边距 */
    }

    /* 同时确保左侧菜单栏也已隐藏 */
    .container-menu {
        display: none;
    }
}


.container .container-menu .content-lf-items {
    position: relative;
}

.container .container-menu .content-lf-items .lf-items-menu {
    font-size: 15px;
    font-weight: 400;
    color: #37415a;
    line-height: 16px;
}

.container .container-menu .content-lf-items .lf-items-menu a {
    position: relative;
    display: inherit;
    padding-top: 16px;
    padding-bottom: 16px
}

dd {
    display: block;
}

container .container-menu .content-lf-items .lf-items-menu:hover a {
    color: #37415a;
    background-color: #f3f5fa
}

container .container-menu .content-lf-items .lf-items-menu.active {
    background-color: #f3f5fa
}
.content-section-b{
    padding: 50px 0;
    background-color: #fff;
    display: block;
}

.section-heading {
    margin-bottom: 30px;
}
.lead {
    font-size: 16px;
    font-weight: 400;
}
.section-heading-spacer {
    float: left;
    width: 200px;
    border-top: 3px solid #bbb;
}
.img-responsive{
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
}
.intro-message > h3 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}